package kn.pulldata.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 类描述：添加req
 *
 * @author XJW
 * @since 2025/7/8 14:42
 */
@Data
public class AddReq {


    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotNull(message = "sourceId不能为空")
    private Integer sourceId;           // 数据源id


    @NotNull(message = "orgId不能为空")
    private Integer orgId;                 // 机构id



    @NotBlank(message = "sourceName不能为空")
    private String sourceName;

    @NotBlank(message = "schemeName不能为空")
    private String schemeName;           // 监测方案名称


    @NotNull(message = "schemeId不能为空")
    private Integer schemeId;               // 监测方案ID

}
